package test.common.core.validation;


import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import web.common.core.validation.annotation.FieldEqual;
import web.common.core.validation.annotation.FieldNotEqual;
import web.common.core.validation.group.SaveGroup;
import web.common.core.validation.group.UpdateGroup;

/**
 * @author Jin Zheng
 * @since 1.0 2020-06-23
 */
@Getter
@Setter
@NoArgsConstructor
@FieldEqual(fields = {"name", "name3"}, groups = {SaveGroup.class})
@FieldNotEqual(fields = {"name", "name2"}, groups = {UpdateGroup.class})
public class Group {
	private String name;
	private String name2;

}
